<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>Login Page</title>
<style>
.errorblock {
	color: #ff0000;
	background-color: #ffEEEE;
	border: 3px solid #ff0000;
	padding: 8px;
	margin: 16px;
}
</style>
</head>
<%
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1.
response.setHeader("Pragma", "no-cache"); // HTTP 1.0.
response.setDateHeader("Expires", 0); // Proxies.
%>
<body onload='document.f.j_username.focus();'>	
	<form name='f' action="<c:url value='j_spring_security_check' />"
		method='POST'>
		<div style="height:100%;width:100%;vertical-align:middle;">
			<table style="height:100%;width:100%;">
				<tr>
					<td style="vertical-align:middle;">
						<table style="margin:auto;border:0;width:300px;background-color:#DFE0E2;" cellPadding="0" cellSpacing="0">
							<tr style="text-align:center;">
								<td colspan="2">
									<b style="font-size:20px;">LOGIN</b>
								</td>
							</tr>
							<tr style="height:40px">
								<td style="text-align:center;width:90px;">User:</td>
								<td style="width:210px;">
									<input type='text' name='j_username' value='' style="width:208px;">
								</td>
							</tr>
							<tr style="height:40px">
								<td style="text-align:center;width:90px;">Password:</td>
								<td>
									<input type='password' name='j_password' style="width:208px;" />
								</td>
							</tr>
							<tr>
								<td style="text-align:left;style="width:90px;">
									&nbsp;
								</td>
								<td style="text-align:right;style="width:210px;"">
									<input name="submit" type="submit" value="conferma" style="float:left;"/>
									<input name="reset" type="reset" value="reimposta" style="float:right;margin-right:2px" />
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
	</form>
</body>
</html>